package com.css.fxfzysx.modules.vaolEngineering.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxTransformerSubstationEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.CtVulnerabilityEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.TsParam;
import com.css.fxfzysx.modules.vaolEngineering.param.update.TsValueParam;
import com.css.fxfzysx.modules.vaolEngineering.vo.lifelineCalculation.SmxTransformerSubstationValueVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface TsVulnerabilityService {

    RestResponse caTsVulnerability(String versionId,String tableId);

    RestResponse groupTsVulnerability(List<CtVulnerabilityEntity> ctVulnerabilityList);

    RestResponse importInterfaceWelding(MultipartFile file);

    Map<String, Object> uploadTsVulnerability(String fileIds, String versionId,String userId) throws Exception;

    HashMap<Integer, ArrayList<String>> getDataValidation(String versionId);

    List<SmxTransformerSubstationEntity> getByTableId(String id);

    List<SmxTransformerSubstationValueVo> getValueByTsId(String id);

    void updateById(List<TsParam> tsParam);

    RestResponse count(List<TsParam> param);

    void delValueByTsId(String tsId);

    void saveResult(List<TsValueParam> valueParam,String tsId);
}
